﻿<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>@ViewData["Title"] - RuoVea.AppLayer.Template.App</title>
    <link href="~/elementui/index.min.css" rel="stylesheet" asp-append-version="true" />
    @await RenderSectionAsync("Styles", required: false)
</head>
<body>
    <div id="main">
        <el-extend-header logo-src="/img/logo.png"
                          logo-title="订单管理系统"
                          :menu-data='menuData'
                          :active-index="activeIndex"
                          user-name="百里东君"
                          user-avatar="" login-out-txt="">
        </el-extend-header>
       
            @RenderBody()
      
    </div>
    <script src="~/vue/vue.js"></script>
    <script src="~/elementui/index.min.js"></script>
    <script src="~/vue/axios.min.min.js"></script>
    <script src="~/vue/vue-i18n.min.js"></script>
    <script>
        var header = {
            el: "#main",
            data() {
                return {
                    menuData: [
                        { title: "用户管理", path: "/user" },
                        { title: "角色管理", path: "/role" },
                        { title: "角色用户管理", path: "/role/UserRole" },
                        { title: "菜单管理", path: "/Menu" },
                        { title: "角色菜单管理", path: "/role/RoleMenu" },
                        { title: "参数配置", path: "/Config" },
                        { title: "字典管理", path: "/Dict" },
                        { title: "机构管理", path: "/Organization" },
                        { title: "职位管理", path: "/Position" },
                    ],
                    activeIndex: "/dashboard",
                }
            },
        };
    </script>
    @await RenderSectionAsync("Scripts", required: false)
</body>
</html>
